package com.muyu.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vehicle.common.core.annotation.Excel;
import com.vehicle.common.core.web.domain.BaseEntity;

/**
 * 电子围栏对象 t_vehicle_fence
 *
 * @author muyu
 * @date 2021-09-04
 */
public class VehicleFence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String fenceName;

    /** 围栏类型 */
    @Excel(name = "围栏类型")
    private String fenceAlarmType;

    @Excel(name = "围栏地址")
    private String path;

    /** 围栏状态 */
    @Excel(name = "围栏状态")
    private Long status;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setFenceName(String fenceName)
    {
        this.fenceName = fenceName;
    }

    public String getFenceName()
    {
        return fenceName;
    }
    public void setFenceAlarmType(String fenceAlarmType)
    {
        this.fenceAlarmType = fenceAlarmType;
    }

    public String getFenceAlarmType()
    {
        return fenceAlarmType;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fenceName", getFenceName())
            .append("fenceAlarmType", getFenceAlarmType())
            .append("status", getStatus())
            .append("path", getPath())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
